package com.alnex.es.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author Alnex
 * @CreateTime 2020-07-16 11:13
 * @Descirption redis 集群配置类
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.redis.cluster")
public class ClusterConfigurationProperties {

	private List<String> nodes;

	private Integer maxRedirects;
}